Monitoring Processes in Linux (ps, pgrep, top, free, uptime, ...)
UseiftoptolocatetheTCPportonyourmachinethatisreceivingthemosttraffic.Thenusesudonetstat-tuptolocatetheprocessowningthatport.,Averysimpleapproachthenistoperiodicallylookin/proc//net/devandstoreitwithatimestamp.Hereyoucangettotalpackets/bytessentfr...。參考影片的文章的如下:

